module switch_2bit(
	input Data1,
	input Data2,
	input Data3,
	input Data4,
	input [1:0] Switch_signal,
	output reg Cout
);

	always @(*) begin
		
		casez(Switch_signal)
			2'b00: Cout = Data1;
			2'b01: Cout = Data2;
			2'b10: Cout = Data3;
			2'b11: Cout = Data4;
			default: Cout = 1'bz;
		endcase
	end

endmodule
